{% extends "blog/base.html" %}
{% load blog_tags %} 
<!DOCTYPE html>
<html> 
  <head> 
    <title>>{% block title %}My Blog{% endblock %}</title> 
  </head> 
  <body> 
    {% block content %} 
      {% for post in posts %}
        <h2><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h2> 
        <p class="date">Published {{ post.publish }} by {{ post.author }}</p> 
        <p>{{ post.body|markdown|truncatewords_html:30 }}</p> 
      {% endfor %}
      {% include "pagination.html" with page=posts %} 
    {% endblock %} 
  </body>
</html>